package org.csu.mypetstore.api.service;

import org.csu.mypetstore.api.common.CommonResponse;
import org.csu.mypetstore.api.entity.Account;
import org.csu.mypetstore.api.entity.Profile;
import org.csu.mypetstore.api.entity.SignOn;
import org.csu.mypetstore.api.vo.AccountVO;

public interface AccountService {

      CommonResponse<AccountVO> getAccount(String username, String password);
      CommonResponse<AccountVO> getAccount(String username);

      CommonResponse<AccountVO> registerAccount(Account account, String password);
      CommonResponse<AccountVO> editAccount(String username, Account account, SignOn signOn, Profile profile);
}
